package com.company.book_store.service;

import com.company.book_store.pojo.Book;
import com.company.book_store.pojo.Bookinfo;
import com.company.book_store.pojo.User;

import java.util.List;

public interface Iuserservice {
    public User selectByidandpsw(User user);
    public int insertUser(User user);
    public int borrow(String str,int id);
    public int returnbook(int id,int book_id);
    public User selectByaccount(String str);
    public List<User> selectall();
    public int updateuser(User user);
}
